package com.ruoyi.charging.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充电进度对象 charging_bill_progress
 * 
 * @author ruoyi
 * @date 2023-09-06
 */
public class ChargingBillProgress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 订单号 */
    private String billId;

    /** 充电量（kwh） */
    @Excel(name = "充电量", readConverterExp = "k=wh")
    private Long chargingCapacity;

    /** 电池温度 */
    @Excel(name = "电池温度")
    private BigDecimal batteryTemperature;

    /** 总电量 */
    @Excel(name = "总电量")
    private String totalCapacity;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer deleted;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setBillId(String billId) 
    {
        this.billId = billId;
    }

    public String getBillId() 
    {
        return billId;
    }
    public void setChargingCapacity(Long chargingCapacity) 
    {
        this.chargingCapacity = chargingCapacity;
    }

    public Long getChargingCapacity() 
    {
        return chargingCapacity;
    }
    public void setBatteryTemperature(BigDecimal batteryTemperature) 
    {
        this.batteryTemperature = batteryTemperature;
    }

    public BigDecimal getBatteryTemperature() 
    {
        return batteryTemperature;
    }
    public void setTotalCapacity(String totalCapacity) 
    {
        this.totalCapacity = totalCapacity;
    }

    public String getTotalCapacity() 
    {
        return totalCapacity;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("billId", getBillId())
            .append("chargingCapacity", getChargingCapacity())
            .append("batteryTemperature", getBatteryTemperature())
            .append("createTime", getCreateTime())
            .append("totalCapacity", getTotalCapacity())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
